---
title: WorksheetFunction.Acot Method (Excel)
keywords: vbaxl10.chm137421
f1_keywords:
- vbaxl10.chm137421
ms.prod: excel
ms.assetid: 2e7fee00-05cb-38a5-a266-c5f8933a3b90
ms.date: 06/08/2017
---


# WorksheetFunction.Acot Method (Excel)

Returns the arccotangent of a number, in radians in the range 0 to Pi.


## Syntax

 _expression_ . **Acot**_(Arg1)_

 _expression_ A variable that represents a[WorksheetFunction Object (Excel)](worksheetfunction-object-excel.md) object.


### Parameters



|**Name**|**Required/Optional**|**Data type**|**Description**|
|:-----|:-----|:-----|:-----|
| _Arg1_|Required|DOUBLE|The cotangent of the angle you want.|

### Return value

 **DOUBLE**


## See also


#### Concepts


[WorksheetFunction Object](worksheetfunction-object-excel.md)

